const express = require("express");
const router = express.Router();

/* GET users listing. */
router.get("/get_form_config", function (_req, res) {
  const saveConfig = require("./jsonData/save_config.json");
  res.send(saveConfig);
});

router.get("/chart_detail", (_req, res) => {
  const submitConfig = require("./jsonData/chat_detail_config.json");
  res.send(submitConfig);
});

module.exports = router;
